<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="css/main.css" rel="stylesheet" type="text/css" />
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<title>校园豆豆网</title>
	</head>

	<body>
		<div align="center">
			<table border="0" cellpadding="0" cellspacing="0" width="910">
				<tbody>
					<tr>
						<td width="100%"></td>
					</tr>
				</tbody>
			</table>
		</div>

		<div id="layout">

			<!-- 页面头部 -->
			<%@ include file="/WEB-INF/common/header/header.jsp"%>

			<div id="main">
				<!--  设置主体部分框架  -->

				<div id="together2">
					<div id="adgroup">
						<!--广告组-->
					</div>

					<div id="info">
						<!--商家、会员、品牌信息栏-->
					</div>

					<div id="board">
						<!--公告-->
					</div>
				</div>

				<div id="picture">
					<!--商品分类提示图片 可有可无-->
				</div>

				<s:iterator value="bigTypeList" status="Status">
					<div id="together3">
						<div id="bigtype">
							<!--给每一类商品添加大类别图片或解释-->
							<s:property value="bigTypeName" />
							<!--  &nbsp;&nbsp;&nbsp;&nbsp;
						<a href="#">more</a>-->
						</div>
						<div id="type">
							<!--商品分类-->
							<ul>
								<!-- 将每个大类包含的小类迭代 -->
								<s:iterator value="%{superSmallTypeList[#Status.index]}"
									status="st_temp">
									<li>
										<a href="#"><s:property value="smallTypeName" /> </a>
									</li>
								</s:iterator>
							</ul>
						</div>

						<div id="re_product">
							<!--推荐产品-->
							<s:iterator value="%{superProductList[#Status.index]}"
								status="p_temp">
								<div id="product_only">
									<center>
										<a href="product!simpleProduct.do?id=<s:property value="id"/>">
											<img src="<s:property value="photo1"/>"
												title="<s:property value="name"/> 点击查看详情" /> </a>
									</center>
								</div>
							</s:iterator>
						</div>

						<div id="re_seller">
						</div>

					</div>
				</s:iterator>
			</div>
			<!-- footer尾部 -->
			<%@ include file="/WEB-INF/common/footer/footer.jsp"%>
		</div>
	</body>

</html>